package net.maku.member.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.maku.system.entity.SysOrgEntity;

import java.io.Serializable;

/**
 * @Author: qr
 * @Date: 2025/3/16 17:55
 * @Version 1.0
 */
@Data
@Schema(description = "会员转会申请")
public class MemberUserTransferVO extends MemberUserVO implements Serializable, TransPojo {

    @Schema(description = "转会申请id")
    private Long transId;

    @Schema(description = "现所属工会ID")
    @Trans(type = TransType.SIMPLE, target = SysOrgEntity.class, fields = "name", ref = "nowOrgName")
    private Long nowOrgId;

    @Schema(description = "现所属工会")
    private String nowOrgName;

    @Schema(description = "申请转移工会ID")
    @Trans(type = TransType.SIMPLE, target = SysOrgEntity.class, fields = "name", ref = "transferOrgName")
    private Long transferOrgId;

    @Schema(description = "申请转移工会")
    private String transferOrgName;


}
